home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Technology Seed / ADC Seed CD - July 1999.toast / USB / Mac OS USB DDK v1.2 / Examples / USBModem / ModemStub.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-15  |  1.0 KB  |  31 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ModemStub.h
  3.  
  4.     Contains:    Definitions for the USB Modem Stub
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.  
  9.                 
  10.     Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  11.  
  12. */
  13.  
  14. #ifndef    _MODEMSTUB_
  15. #define    _MODEMSTUB_
  16.  
  17. /********************************************************************************************/
  18. //
  19. //    Prototypes
  20. //
  21. /********************************************************************************************/
  22.  
  23. static OSStatus modemDriverValidateHW(USBDeviceRef device, USBDeviceDescriptor *desc);
  24. static OSStatus modemDriverInitInterface(UInt32 interfaceNum, USBInterfaceDescriptor *interfaceDesc, USBDeviceDescriptor *deviceDesc, USBDeviceRef device);
  25. static OSStatus modemDriverInitialize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc, UInt32 busPowerAvailable);
  26. static OSStatus modemDriverFinalize(USBDeviceRef device, USBDeviceDescriptorPtr pDesc);
  27. static OSStatus ExpertEntryProc(ExpertNotificationProcPtr pExpertNotify);
  28. static OSStatus    modemDriverNotifyProc(UInt32 notification, void *pointer, UInt32 refCon);
  29.  
  30. #endif
  31.